@charset "utf-8";
/**********信息提示文字颜色***************/
.page_title{
    font-size: 20px;
    color: #444f58;
    margin: 35px 0;
}

/**********按钮类***************/
.btn{
    position: relative;
    width: 105px;
    height: 43px;
    line-height: 41px;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid #eb413d;
    background: #eb413d;  
    display: inline-block;
    color: #FFFFFF; 
    vertical-align: middle;
    cursor: pointer;
    outline: none;
    text-align: center;
    transition: all 500ms ease;
    
    &:hover {
        -webkit-filter: brightness(1.1);
        filter: brightness(1.1);
    }
    &:active {
        left: 1px;
        top: 1px;
    }
}

.btn.btn_white {
    border: 1px solid #eb413d;
    background-color: #ffffff;
    color: #eb413d;
    &:hover {
        background-color: #e3e3e3;
    }
}

.btn.btn_gray {
    width: 46px;
    height: 25px;
    line-height: 23px;
    border: 1px solid #E7E7E7 !important;
    color: #99999A;
    background-color: #f8f8f8;
    border-radius: 3px;
    font-size: 12px;
}

.btn_h_50{
    height: 50px;
}
.btn_h_30{
    height: 30px;
}
.btn_184{
    width: 184px;
}
.btn_177{
    width: 177px;
}
.btn_160{
    width: 160px;
}
.btn_76{
    width: 76px;
}
.btn_74_28{
    width: 74px;
    height: 27px;
    line-height: 25px;
}
.btn_300_100{
    width: 300px;
    height: 100px;
    color: #EB413D;
    border: 1px solid #EB413D;
    border-radius: 3px;
    background: #FFFFFF;
}
.btn_s_80 {
    width: 80px;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
    border-radius: 5px;
}
.btn_c_100 {
    width: 100px;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
}
.btn_bg_bd{
    background: #FFFFFF;
    border: 1px solid #99999a;
    color: #878787;
}

/*************文本框***************/
.text{
       display: inline-block;
       vertical-align: middle;
       width: 336px;
       height: 42px;
       border-radius: 3px;
       padding: 0 10px;
       border: 1px solid #e7e7e7;
   }
.text_210{
    width: 210px;
}
.text_175{
    width: 175px;
}
.text_150{
    width: 150px;
}
/**********信息提示文字颜色***************/
.text_green { 
    color: #5cb704 !important; 
}
.text_red { 
    color: #eb413d !important; 
}
/**********文本域***************/
.textarea{
    height: 120px;
    resize: none;
}



/*************订单页公共样式***************/






/*************表格类***************/

/*表格样式配置*/
$table_height : 41px;           //表格默认高度
$table_font_size : 13px;        //表格默认字体大小
$table_align : center;          //表格默认水平对齐方式
$table_valign : middle;         //表格默认垂直对齐方式
$table_border_color : #e7e7e7;  //表格边框颜色
$table_padding : 10px;          //表格内边距
$table_radius : 6px;            //表格圆角
$table_light_color : #ffffff;   //表格高亮颜色
$table_blank_height : 15px;     //表格空白行高度
$table_bd_color : #444f58;      //表格默认字体颜色
$table_bd_bgcolor : #ffffff;    //表格默认背景颜色
$table_hf_color : #99999a;      //表头和表尾字体默认颜色
$table_hf_bgcolor : #f8f8f8;    //表头和表尾背景默认颜色
$table_h_height : 47px;         //表头默认高度
$table_h_align : center;        //表头默认水平对齐方式
$table_h_valign : middle;       //表头默认垂直对齐方式
$table_f_red_color : #ffffff;   //红色表尾字体颜色
$table_f_red_bgcolor : #ea413c; //红色表尾背景颜色
$table_f_red_height : 47px;     //红色表尾高度

/*基础表格*/
.table {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    border-top-left-radius: $table_radius;
    border-top-right-radius: $table_radius;
    background-color: $table_border_color;
    overflow: hidden;
    
    table {
        width: 100%;
        table-layout: fixed;
        word-break: break-all;
        font-size: $table_font_size;
        
        thead {
            tr {
                border: 1px solid $table_border_color;
                text-align: $table_h_align;
                vertical-align: $table_h_valign;
                
                th {
                    height: $table_h_height;
                    font-weight: normal;
                    color: $table_hf_color;
                    background-color: $table_hf_bgcolor;
                    padding: $table_padding;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                
                &:first-child {
                    th {
                        &:first-child {
                            border-top-left-radius: $table_radius + 1;
                        }
                        
                        &:last-child {
                            border-top-right-radius: $table_radius + 1;
                        }
                    }
                }
            }
        }
        
        tbody, tfoot {
            tr {
                border: 1px solid $table_border_color;
                text-align: $table_align;
                vertical-align: $table_valign;
                
                td {
                    height: $table_height;
                    padding: $table_padding;
                }
            }
        }
        
        tbody {
            tr {
                &:hover {
                    td {
                        background-color: $table_light_color;
                    }
                }
                
                td {
                    color: $table_bd_color;
                    background-color: $table_bd_bgcolor;
                    transition: background-color 500ms ease;
                }
            }
            
            /*表格显示空白隔行*/
            tr.blank {
                border-left: 1px solid $table_bd_bgcolor !important;
                border-right: 1px solid $table_bd_bgcolor !important;
                
                &:hover {
                    td {
                        background-color: $table_bd_bgcolor;
                    }
                }
                
                td {
                    height: $table_blank_height;
                    padding: 0;
                    border-left: 1px solid $table_bd_bgcolor !important;
                    border-right: 1px solid $table_bd_bgcolor !important;
                }
            }
            
            /*商品信息类上下边距-小*/
            tr.ptb_xs {
                td {
                    padding-top: 17px;
                    padding-bottom: 17px;
                    line-height: 1.8em;
                    vertical-align: top;
                    
                    &:first-child {
                        padding-left: 10px;
                        text-align: left;
                    }
                }
            }
        }
        
        tfoot {
            tr {
                td {
                    color: $table_hf_color;
                    background-color: $table_hf_bgcolor;
                }
            }
        }
        
        /*文字左对齐*/
        .left {
            text-align: left;
        }
        
        /*文字水平居中对齐*/
        .center {
            text-align: center;
        }
        
        /*文字右对齐*/
        .right {
            text-align: right;
        }
        
        /*文字上对齐*/
        .top {
            vertical-align: top;
        }
        
        /*文字垂直居中对齐*/
        .middle {
            vertical-align: middle;
        }
        
        /*文字下对齐*/
        .bottom {
            vertical-align: bottom;
        }
    }
    
    /*表格红色表尾*/
    table.redfoot {
        tfoot {
            tr {
                td {
                    color: $table_f_red_color;
                    background-color: $table_f_red_bgcolor;
                    height: $table_f_red_height;
                }
            }
        }
    }
    
    /*表格显示所有列边框*/
    table.colsbor {
        tbody {
            tr {
                td {
                    padding-left: 5px;
                    padding-right: 5px;
                    border: 1px solid $table_border_color;
                }
            }
        }
    }
    
    /*表格显示有合并单元格的列边框*/
    table.rowsmerge {
        tbody {
            tr {
                td[rowspan] {
                    border: 1px solid $table_border_color;
                }
            }
        }
    }
}

/*表格尾部显示圆角*/
.tfoot_mellow {
    border-bottom-left-radius: $table_radius;
    border-bottom-right-radius: $table_radius;
    
    table {
        tbody, tfoot {
            &:last-child {
                tr {
                    &:last-child {
                        td {
                            &:first-child {
                                border-bottom-left-radius: $table_radius + 1;
                            }
                            
                            &:last-child {
                                border-bottom-right-radius: $table_radius + 1;
                            }
                        }
                    }
                }
            }
        }
    }
}

/*tab表格*/
[data-role="tabFrame"] {
    .table {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin-top: 15px;
        
        table {
            margin-top: -$table_h_height;
        }
    }
    
    .show_thead {
        border-top-left-radius: $table_radius;
        border-top-right-radius: $table_radius;
        margin-top: 0;
        
        table {
            margin-top: 0;
        }
    }
}




/*************分页***************/
.pages {
    font-size: 13px;
    color: #444f58;
    overflow: hidden;
    margin: 10px 0;
    
    form {
        float: right;
        
        /*文本信息*/
        .msg {
            display: block;
            float: left;
            height: 38px;
            line-height: 38px;
            margin-right: 18px;
        }
        
        ul {
            display: block;
            float: left;
            overflow: hidden;
            
            li {
                text-align: center;
                float: left;
                
                ~li {
                    margin-left: 8px;
                }
                
                a {
                    display: block;
                    min-width: 38px;
                    height: 38px;
                    line-height: 38px;
                    border: 1px solid #e7e7e7;
                    border-radius: 3px;
                    color: #444f58;
                    transition: all 300ms ease;
                    
                    &:hover {
                        color: #eb413d;
                        border-color: #eb413d;
                    }
                }
                
                /*省略号*/
                .dot {
                    line-height: 36px;
                    font-size: 28px;
                }
                
                /*跳转页面标签*/
                .topage_label {
                    margin: 0 2px 0 5px;
                }
                
                /*跳转页面输入框*/
                .topage_input {
                    display: inline-block;
                    height: 38px;
                    line-height: 38px;
                    border: 1px solid #e7e7e7;
                    border-radius: 3px;
                    padding-right: 10px;
                    transition: all 300ms ease;
                    
                    input {
                        float: left;
                        display: block;
                        width: 2.5em;
                        height: 36px;
                        border: none;
                        padding-left: 10px;
                        margin-right: 5px;
                        transition: all 300ms ease;
                    }
                    
                    &:hover {
                        color: #eb413d;
                        border-color: #eb413d;
                        
                        input {
                            color: #eb413d;
                        }
                    }
                }
                
                input[type="submit"] {
                    display: block;
                    width: 68px;
                    height: 38px;
                    background-color: transparent;
                    border: 1px solid #e7e7e7;
                    border-radius: 3px;
                    cursor: pointer;
                    color: #444f58;
                    transition: all 300ms ease;
                    
                    &:hover {
                        color: #eb413d;
                        border-color: #eb413d;
                    }
                }
            }
            
            /*当前选中*/
            .selected {
                a {
                    color: #eb413d;
                    border-color: #eb413d;
                }
            }
        }
    }
}



/*************气泡框***************/
.dialog {
    position: absolute;
    top: 100%;
    min-width: 238px;
    min-height: 46px;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    background-color: #ffffff;
    padding: 5px 10px;
    
    &:before {
        content: "";
        width: 0;
        height: 0;
        border-bottom: 6px solid #e7e7e7;
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        position: absolute;
        top: -7px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    &:after {
        content: "";
        width: 0;
        height: 0;
        border-bottom: 6px solid #ffffff;
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
    }
}



/*************信息页条件筛选查询表单头***************/
.form {
    display: block;
    width: 100%;
    padding: 15px 25px 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    font-size: 13px;
    
    form {
        width: 100%;
        
        table {
            width: 100%;
            
            tbody {
                tr {
                    td {
                        text-align: left;
                        
                        &:nth-child(odd) {
                            padding-left: 15px;
                        }
                        
                        &:first-child {
                            padding-left: 0;
                        }
                    }
                    
                    ~tr {
                        td {
                            padding-top: 8px;
                        }
                    }
                    
                    &:last-child {
                        td {
                            padding-bottom: 15px;
                        }
                    }
                }
            }
        }
    }
}



/*************数据分类***************/
.data_class {
    font-size: 16px;
    margin-bottom: 24px;
    
    ul {
        overflow: hidden;
        
        li {
            float: left;
            position: relative;
            height: 36px;
            line-height: 36px;
            color: #444f58;
            cursor: pointer;
            padding: 0 8px;
            
            ~li {
                margin-left: 12px;
            }
            
            i {
                font-style: normal;
                color: #eb413d;
                margin-left: 5px;
            }
            
            &::after {
                content: "";
                display: block;
                width: 0;
                height: 2px;
                background-color: #e60012;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                transition: all 300ms ease;
            }
            
            &:hover {
                color: #eb413d;
                
                &::after {
                    width: 55%;
                }
            }
        }
        
        /*当前选中样式*/
        .selected {
            color: #eb413d;
            
            &::after {
                width: 55%;
            }
        }
    }
}



/*************表格内商品信息块（图片、标题、标签）***************/
.goods_info {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    margin-left: 8px;
    
    /*图片*/
    .picbox {
        display: block;
        float: left;
        width: 120px;
        height: 120px;
        background-color: #ffffff;
        text-align: center;
        margin-right: 10px;
        
        img {
            height: 80%;
            margin: 10% 0 10% 0;
        }
    }
    
    p {
        float: left;
        width: 17em;
        line-height: 1.8em;
        text-align: justify;
    }
    
    /*标题*/
    .title {
        height: 5.4em;
        overflow: hidden;
        
        a {
            color: #444f58;
            transition: color 300ms ease;
            
            &:hover {
                color: #eb413d;
            }
        }
    }
    
    /*标签*/
    .tag {
        margin-top: 26px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        
        span {
            ~span {
                margin-left: 32px;
            }
        }
    }
}

/*信息块小尺寸*/
.goods_info_mini {
    p {
        width: 13em;
    }
}




/*************下拉框***************/

/*下拉框样式配置*/
$select_width: 150px;                       //下拉框宽度
$select_height: 42px;                       //下拉框高度
$select_font-size: 12px;                    //下拉框字体大小
$select_bg_color: #ffffff;                  //下拉框背景颜色
$select_border_width: 1px;                  //下拉框边框大小
$select_border_color: #e7e7e7;              //下拉框边框颜色
$select_border_radius: 3px;                 //下拉框圆角
$select_show_transition: all 150ms ease;    //下拉框显示过渡
$select_light_color: #f3f3f3;               //下拉框高亮颜色
$select_light_transition: all 300ms ease;   //下拉框高亮过渡
$select_option_height: 38px;                //下拉框选项高度
$select_option_show_num: 5;                 //下拉框选项显示数量
$select_option_max_width: 36em;             //下拉框选项最大宽度
$select_option_shadow: 0 0 10px 0 #e7e7e7;  //下拉框选项阴影

/*基础下拉框*/
.select {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: $select_font-size;
    
    input[type="text"] {
        width: $select_width;
        height: $select_height;
        background-color: $select_bg_color;
        border: $select_border_width solid $select_border_color;
        border-radius: $select_border_radius;
        padding: 0 $select_height + 10 0 10px;
    }
    
    i {
        width: $select_height;
        height: $select_height;
        background-color: $select_bg_color;
        line-height: $select_height;
        text-align: center;
        border-top-right-radius: $select_border_radius;
        border-bottom-right-radius: $select_border_radius;
        border: $select_border_width solid $select_border_color;
        cursor: pointer;
        transition: $select_light_transition;
        position: absolute;
        top: 0;
        right: 0;
        &:hover {
            background-color: $select_light_color;
        }
        &:active {
            span {
                left: 1px;
                top: 1px;
            }
        }
        
        span {
            position: relative;
        }
    }
    
    ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1;
        min-width: 100%;
        max-height: $select_option_height * $select_option_show_num + $select_border_width * 2 - 1;
        background-color: $select_bg_color;
        overflow: hidden;
        overflow-y: auto;
        border: $select_border_width solid $select_border_color;
        transform: scaleY(0);
        transform-origin: top;
        visibility: hidden;
        opacity: 0;
        transition: $select_show_transition;
        box-shadow: $select_option_shadow;
        
        li {
            height: $select_option_height;
            line-height: $select_option_height;
            cursor: pointer;
            padding: 0 10px;
            max-width: $select_option_max_width;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: $select_light_transition;
            
            ~li {
                border-top: $select_border_width solid $select_border_color;
            }
            
            &:first-child {
                height: $select_option_height - 1;
                line-height: $select_option_height - 1;
            }
            
            &:hover {
                background-color: $select_light_color;
            }
        }
    }
    
    ul.show {
        transform: none;
        visibility: visible;
        opacity: 1;
    }
}

.select_210 {
    input[type="text"] {
        width: 210px;
    }
}
.select_80 {
    input[type="text"] {
        width: 80px;
    }   
}
.select_100 {
    input[type="text"] {
        width: 100px;
    }
}
.select_185 {
    input[type="text"] {
        width: 185px;
    }
}




/*************复选框***************/
.checkbox {
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    
    * {
        display: inline-block;
        vertical-align: middle;
    }
    
    input[type="checkbox"] {
        display: none;
        
        &:checked {
            +label {
                i {
                    &::after {
                        display: block;
                    }
                }
            }
        }
    }
    
    label {
        i {
            width: 15px;
            height: 15px;
            border: 1px solid #9d9d9d;
            background-color: #f8f8f8;
            border-radius: 2px;
            
            &::after {
                content: "\2714";
                display: none;
                font-size: 12px;
                line-height: 1em;
                text-align: center;
                color: #878787;
                transform: translateX(-2px);
            }
        }
        
        span {
            font-size: 13px;
            height: 15px;
            line-height: 14px;
            margin-left: 7px;
            color: #444f58;
        }
    }
}





//**********************购物流程页下方商城服务及承诺样式样式***************************/

//背景颜色
.bg_light_grey {
    background: #f8f8f8;
}
//外框样式
.commitment {
    width: 100%;
    padding: 37px 183px 33px;
    box-sizing: border-box;
    //内容图片以及文字样式
    .authenticity,
    .customize,
    .hot_line,
    .returns,
    .seven {
        margin-right: 27px;
        span {
            margin: 19px 0 22px 12px;
        }
    }
    .hot_line {
        margin-right: 0;
    }
}






   /************************购物流程页字体样式***************************/
  
  
  
    //字体大小
    .size14 {
        font-size: 14px;
    }
    .size16 {
        font-size: 16px;
    }
    .size20 {
        font-size: 20px;
    }
    .size24 {
        font-size: 24px;
    }
    .size30{
        font-size:30px;
    }
    
    
    
    //字体宽度
    .weight700 {
        font-weight: 700;
    }
    
    
    
    //字体颜色
    .red {
        color: #eb413d;
    }
    .grey {
        color: #878787;
    }
    .blue_grey {
        color: #444f58;
    }
    .white{
        color:white;
    }



    

    /**************************购物流程页切割线标题样式***************************/
    .title_process{
        margin-top: 36px;
        margin-bottom: 24px;
        //切割线
        .line {
            width: 100%;
            height: 4px;
            .red_size45X4 {
                width: 45px;
                height: 100%;
                background: #eb413d;
            }
        }
        //文字
        .title_text {
            margin-top: 20px;
            margin-left: 4px;
            display: block;
            height: 20px;
            line-height: 19px;
        }
}